<!-- NG-ZORRO -->
<!-- <a href="https://github.com/NG-ZORRO/ng-zorro-antd" target="_blank" style="display: flex;align-items: center;justify-content: center;height: 100%;width: 100%;">
  <img height="300" src="https://img.alicdn.com/tfs/TB1X.qJJgHqK1RjSZFgXXa7JXXa-89-131.svg">
</a> -->
<!-- <button nz-button nzType="primary">Primary</button> -->
<nz-layout>
  <nz-sider nzCollapsible [(nzCollapsed)]="isCollapsed" [nzTrigger]="null">
    <div class="logo">
      <img src="assets/images/Angular.png">
      <span class="logo_title">Angular后台管理系统</span>
    </div>
    <ul nz-menu nzTheme="dark" nzMode="inline" [nzInlineCollapsed]="isCollapsed">
      <li nz-submenu nzTitle="新闻" nzIcon="user">
        <ul>
          <li nz-menu-item><a [routerLink]="[ '/newsdetail']">新闻列表</a></li>
          <li nz-menu-item><a [routerLink]="[ '/edit']">趣闻轶事</a></li>
        </ul>
      </li>
      <li nz-submenu nzTitle="视频" nzIcon="team">
        <ul>
          <li nz-menu-item>好看视频</li>
          <li nz-menu-item>搞笑视频</li>
        </ul>
      </li>
      <li nz-menu-item>
        <i nz-icon nzType="file"></i>
        <span>文件</span>
      </li>
    </ul>
  </nz-sider>
  <nz-layout>
    <nz-header>
      <i
        class="trigger"
        nz-icon
        [nzType]="isCollapsed ? 'menu-unfold' : 'menu-fold'"
        (click)="isCollapsed = !isCollapsed"
      ></i>
      <nz-dropdown class="fr">
        <a class="ant-dropdown-link" nz-dropdown>
         管理员<i class="anticon anticon-down"></i>
        </a>
        <ul nz-menu>
          <li nz-menu-item>
            <a target="_blank" rel="noopener noreferrer" href="#">退出</a>
          </li>

        </ul>
      </nz-dropdown>
    </nz-header>
    <nz-content>
      <nz-breadcrumb>
        <nz-breadcrumb-item>用户</nz-breadcrumb-item>
        <nz-breadcrumb-item>列表</nz-breadcrumb-item>
      </nz-breadcrumb>
      <div class="inner-content">
        <!-- <app-outlet></app-outlet> -->
        <!--路由 -->
        <router-outlet></router-outlet>
      </div>
    </nz-content>
    <nz-footer>Ant Design ©2019 Implement By Angular</nz-footer>
  </nz-layout>
</nz-layout>

